//
//  YNEncrypt.h
//  3DES
//
//  Created by 范渊博 on 2021/7/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YNEncrypt : NSObject

//+ (NSString *)encryptStr_3DES:(NSString *)originalStr;
//
//+ (NSString *)decryptStr_3DES:(NSString *)encryptStr;

+ (NSString *)encryptWithText:(NSString *)sText key:(NSString *)key;

+ (NSString *)decryptWithText:(NSString *)sText key:(NSString *)key;

+ (NSString *)encryptWithText1:(NSString *)sText key:(NSString *)key;

+ (NSString *)decryptWithText1:(NSString *)sText key:(NSString *)key;

+(NSString *)encryptUseDES:(NSString *)plainText key:(NSString *)key;

+(NSString *)decryptUseDES:(NSString *)cipherText key:(NSString *)key;

@end

NS_ASSUME_NONNULL_END
